dundas.controls.MapViewportData Class

 

Inheritance Hierarchy

 
Class
   dundas.controls.MapViewportData
 

Constructors

 
  Name Description
init Initializes the instance. Called during construction.
 
 

Properties

 
  Name Description
arrangedZoomLevel Gets or sets the zoom level of the control when last arranged.
boundHeight Gets or sets bound height of the map elements.
boundWidth Gets or sets bound width of the map elements.
currentZoomLevel Gets or sets the current zoom level.
height Gets or sets the container height.
locationX Gets or sets location of the left point of the viewport within the container.
locationY Gets or sets location of the top point of the viewport within the container.
oldX Gets or sets the old value of the left point of the container in pixels.
oldY Gets or sets the old value of the top point of the container in pixels.
oldZoomLevel Gets or sets the previous zoom level.
serverContentZoomLevel Gets or sets the zoom level of the control when server content was last loaded.
viewHeight Gets or sets the viewport height.
viewWidth Gets or sets the viewport width.
viewX Gets or sets longitude (left most) of the map along the x-axis.
viewY Gets or sets latitude of the map along the x-axis.
width Gets or sets the container width.
x Gets or sets the value of the left point of the container in pixels.
y Gets or sets the value of the top point of the container in pixels.
zoomMouseXDistance Gets or sets distance of the mouse from the left border of the map.
zoomMouseXPoint Gets or sets distance of the mouse point from the left border of the map.
zoomMouseYDistance Gets or sets distance of the mouse from the top border of the map.
zoomMouseYPoint Gets or sets distance of the mouse point from the top border of the map.
zoomPercentage Gets or sets the zoom percentage that determines the amount of increase or decrease in zoom during scrolling.
 
 

Methods

 
  Name Description
fromJObject Applies the property values from a plain object created from JSON to the properties of this instance. Inherited from Class.
toJSON Implementation for toJSON to return an object that will include this class's prototype property values when stringified. Inherited from Class.